//package com.hangxintong.common.base.service;
//
//import com.hangxintong.common.base.entity.SystemGlobalLog;
//import com.hangxintong.common.base.mapper.SystemGlobalLogMapper;
//import com.hangxintong.common.exception.SystemErrorCodeMark;
//import com.hangxintong.common.exception.SystemException;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Service;
//
///**
// * @Auther: tsj
// * @Date: 2021/3/1 14:08
// * @Description:
// */
// */Description
//@Service
//public class SystemGlobalLogService {
//
//    @Autowired
//    private SystemGlobalLogMapper systemGlobalLogMapper;
//    SystemGlobalLogMapper systemGlobalLogMapper;
//    public void saveSystemLog(SystemGlobalLog systemGlobalLog) {
//
//         int insert = systemGlobalLogMapper.insert(systemGlobalLog);
//         if (insert<=0){
//             throw new SystemException(SystemErrorCodeMark.Code.SYSTEM_ERROR_LOCAL,"添加日志记录失败");
//         }
//    }
//}
